#include<stdio.h>
main()
 {float fEnglish,fChinese,fMath,fSum,fAve;
 scanf("%f%f%f",&fEnglish,&fChinese,fMath);
 fSum=(fEnglish+fChinese+fMath);
 fAve=fSum/3;
 printf("%0.2f",fSum);
 printf("%0.2f",fAve);
 }
